home *** CD-ROM | disk | FTP | other *** search
-
- PaletteMerger
-
- A small Freeware utility by RĂ¼diger Hanke
-
- I. The idea
- -----------
- I'm currently programming an AGA shareware adventure game with lots of
- raytraycer backgrounds. However, I faced the problem that certain objects
- and characters can move from room to room...
- Using a fixed color palette isn't very nice (look at those new Sierra
- games for the Amiga, and you'll see what I'm talking about), so I decided
- to use the first 128 colors as "fixed" colors and vary the last 128 colors
- from room to room. However, all Amiga painting programs I own (I own
- DPaint III, PPaint 2.0 and Brilliance) were only able to load the whole
- palette, and not only a part of it.
- After a long, long night I wrote PaletteMerger. Just as you would expect,
- it merges two palettes together - that's all about it.
-
- II. System Requirements
- -----------------------
- Just as any good programmer, I'm a lazy guy, so I used the AllocVec()
- and FreeVec() routines instead of AllocMem() and FreeMem(). This means
- that you need AmigaOS 2.0 or later.
-
- III. Using PaletteMerger
- ------------------------
- Usage: PaletteMerger [Palette_1] [Palette_2] [Merged_Palette]
-
- Palette_1 and Palette_2 are the palettes you want to join, Merged_Palette
- is the output file. The input files must be standard IFF files, and both
- palettes must be of the same size (merging a 2-color and a 32-color palette
- would be very useful)
- PaletteMerger will basically copy ALL CHUNKS from the Palette_1 file into
- the Merged_Palette file and copy the CMAP (Color MAP)-chunk of the second
- input file AFTER that of the first. It will NOT copy any other chunks from
- the second input file!
- Well... that's all. Hope you can use it.
-
- RĂ¼diger Hanke
- An der Marienlinde 10
- D-48291 Telgte
- GERMANY
-
-